#include "systemclass.h"

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR pScmdline, int iCmdshow)
{
	bool fullscreen = false;

	SystemClass* System = new SystemClass;
	bool result = System->Initialize(fullscreen);
	if(result) 
	{
		System->Run();
	}
	System->Shutdown();
	delete System;
	return 0;
}